/**
 * Created by Administrator on 2017/5/31.
 */

// $('.banner').html('我的肉')
// $(".logo").attr({src:'../images/logo.png'});



$(function () {
    var left=0;
    var startPosition, endPosition, deltaX, moveLength;
    var envDiv=$(".envContainer");
    envDiv.on("touchstart",function (e) {
        startPosition=e.touches[0].clientX;

    });
    // envDiv.on("touchend",function (e) {
    //
    // });

    envDiv.on("touchmove",function (e) {
        var left=$(this).offset();
        endPosition=e.changedTouches[0].clientX
        var mouseleft=e.touches[0].clientX;
        deltaX= endPosition- startPosition
        console.log(mouseleft)
    });
});















